public class Main {
    public static void main(String[] args) {
        Manager manager = new Manager();
        manager.setCommand(new OneCommand());
        manager.action();
        manager.setCommand(new TwoCommand());
        manager.action();
    }

}
